-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Api Management] az apim: Add backend services for API Management.
#32647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Api Management] az apim: Add backend services for API Management.
#32647
Conversation
|
Validation for Azure CLI Full Test Starting...
Thanks for your contribution! |
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds backend management capabilities to the Azure API Management CLI. It introduces a new az apim backend command group with full CRUD operations for managing backend services in API Management instances.
Changes:
- Added five new commands for backend management: create, update, show, list, and delete
- Updated test URLs to use the current GitHub repository structure (main branch instead of master)
- Added comprehensive test coverage for all backend operations
- Minor cleanup in test structure (removed duplicate variable assignment, updated decorator prefix)
Reviewed changes
Copilot reviewed 6 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/apim/custom.py | Implements CRUD functions for backend operations |
| src/azure-cli/azure/cli/command_modules/apim/commands.py | Registers backend command group and operations |
| src/azure-cli/azure/cli/command_modules/apim/_params.py | Defines CLI parameters and arguments for backend commands |
| src/azure-cli/azure/cli/command_modules/apim/_help.py | Adds help documentation and examples for backend commands |
| src/azure-cli/azure/cli/command_modules/apim/_client_factory.py | Adds backend client factory |
| src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py | Adds comprehensive backend operation tests and updates test URLs |
| .gitignore | Adds .venv/ directory to gitignore |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Related command
az apim backend createaz apim backend updateaz apim backend showaz apim backend listaz apim backend deleteDescription
Added a new subcommand for API Management. The new subcommand is
az apim backendand it´s able tocreate,list,show,updateanddeletea Backend service.Testing Guide
az apim backend createaz apim backend updateaz apim backend showaz apim backend listaz apim backend deleteHistory Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.